package com.code.softeem.lianxi.demo2;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/20 14:56
 * @description
 */
public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat("白色", "四条腿");
        Dog dog = new Dog("黑色", "四条腿");
        cat.eat();
        dog.eat();
        cat.catchMouse();
        dog.lookHome();
    }
}
